Skip to content

feat(cli): add doctor source installer repair command#507

Merged
stephamie7 merged 1 commit into
devfrom
fix/flocks-doctor-source-install
Jul 3, 2026
Merged

feat(cli): add doctor source installer repair command#507
stephamie7 merged 1 commit into
devfrom
fix/flocks-doctor-source-install

Conversation

@xiami762

@xiami762 xiami762 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a top-level flocks doctor command that reruns the source installer from the Flocks source tree
  • persist installer Language in the config profile and reuse Chinese install profiles for doctor/update mirror defaults
  • make install profile writes best-effort and add service diagnosis output after doctor completes

Tests

  • .venv/bin/python -m pytest tests/test_install_profile.py tests/cli/test_doctor_command.py tests/cli/test_update_command.py tests/scripts/test_install_script_sources.py tests/scripts/test_powershell_scripts.py -q
  • .venv/bin/ruff check flocks/cli/install_profile.py flocks/cli/commands/doctor.py flocks/cli/commands/update.py tests/test_install_profile.py tests/cli/test_doctor_command.py tests/cli/test_update_command.py
  • git diff --check

@xiami762 xiami762 requested a review from stephamie7 July 2, 2026 10:05
@stephamie7 stephamie7 merged commit 308a41a into dev Jul 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants